package 笔试.笔试360;

import java.util.Scanner;

/**
 * @author:谢君臣
 * @Date:2021/9/25-16:47
 * @version:1.0
 * @function:
 */
public class Main03 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int number = scanner.nextInt();
        long[] arr = new long[number];
        for (int i = 0; i < number; i++) {
            arr[i] = scanner.nextInt();
        }
        if (number < 2) {
            System.out.println(2);
        } else {
            int max = -100000000;
            for (int i = 0; i < number; i++) {
                int count = 1;
                for (int j = i; j > 0; j--) {
                    if (arr[j] > arr[j - 1])
                        count++;
                    else
                        break;
                }
                for (int j = i; j < number - 1; j++) {
                    if (arr[j] > arr[j + 1])
                        count++;
                    else break;
                }
                max = Math.max(count, max);
            }
            System.out.println(max);
        }
    }
}
